IBM Support

PK70394: CLASSNOTFOUNDEXCEPTION WHEN RUNNING J2EE APPLICATION CLIENT USING A RUN CONFIGURATION IN RATIONAL APPLICATION DEVELOPER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The application client launcher in RAD does not work correctly
    with a non single-root application module.  A non single-root
    application module is one that has a separate source and output
    folder.
    
    Running this type of application client from the configuration
    launcher may work okay the first time, but on the second attempt
    it will cause ClassNotFoundException.
    

Local fix

  • The simple (and preferred) work-around is to ensure that the
    source and output folder is the same.  A newly constructed
    application module will do this automatically.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  Toolkit v6.1.1 and Rational Application     *
    *                  Developer v7.0                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Subsequent launches of a J2EE           *
    *                      Application Client may cause            *
    *                      a ClassNotFoundException at runtime.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The J2EE WebSphere Application Client launcher toggles
    between running the client from the 'deployable1' and
    'deployable2' directories found in the .metadata when running
    a non single-root J2EE Application Client module.  In some
    scenarios the toggling fails and the application client always
    launches the content from the 'deployable1' directory even if
    the new content is published to the 'deployable2' directory.
    

Problem conclusion

  • The J2EE WebSphere Application Client launcher will now
    correctly toggle between the 'deployable1' and 'deployable2'
    directories found in the .metadata when running a non
    single-root J2EE Application Client module.
    
    The fix for this APAR is currently targeted for inclusion in
    the WebSphere Application Server Toolkit fixpack 6.1.1.8  and
    Rational Application Developer fixpack 7.0.0.8.  Please refer
    to the following Recommended Updates page for WebSphere
    Application Server Toolkit delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    and the following Recommended Updates page for Rational
    Application Developer delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27007823
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK70394

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-08-11

  • Closed date

    2008-08-13

  • Last modified date

    2008-08-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 October 2021